package tuanda.soict.firstsun.LogicPackage;

import tuanda.soict.firstsun.DataPackage.CommonConstants;

/**
 * @author tuanda_soict_hut
 * @version 0.0.1
 * @since 26-7-2012
 */
public class Environment implements CommonConstants {

    private String name;
    private int defense;
    private int obstaclePoint;
    private int category;

    public Environment(String nam,  int def, int obsPoint, int category) {
        setName(nam);
        setDefense(def);
        setObstaclePoint(obsPoint);
        setCategory(category);
    }

    public final int getDefense() {
        return this.defense;
    }

    public final void setDefense(int def) {
        this.defense = def;
    }

    public final String getName() {
        return this.name;
    }

    public final void setName(String nam) {
        this.name = nam;
    }

    public final int getObstaclePoint() {
        return this.obstaclePoint;
    }

    public final void setObstaclePoint(int obsPoint) {
        this.obstaclePoint = obsPoint;
    }

    public final int getCategory() {
        return this.category;
    }

    public final void setCategory(int categ) {
        this.category = categ;
    }
}
